#!/bin/sh

if [ "$(basename $0)" = "setenv" ] ; then
  echo "You must source this script, not run it!" 1>&2
  exit 1
fi

if [ -z ${PATH_ORIG} ]; then export PATH_ORIG=${PATH}; fi

export CALRADIO_ARCH=c5471
export CALRADIO_PLATFORM=TI
export CALRADIO_KERNEL=uclinux-2.4

export CALRADIO_BIN=/opt/Cadenux/${CALRADIO_ARCH}/${CALRADIO_KERNEL}/crossdev/bin
export PATH=${CALRADIO_BIN}:/sbin:/usr/sbin:${PATH_ORIG}

echo "CALRADIO_ARCH : ${CALRADIO_ARCH}"
echo "CALRADIO_PLATFORM : ${CALRADIO_PLATFORM}"
echo "CALRADIO_KERNEL : ${CALRADIO_KERNEL}"
echo "PATH : ${PATH}"
